package com.yic.module.device.controller.admin.inspectionRecordInfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 巡检/点检记录明细 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class InspectionRecordInfoExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("记录ID")
    private Long recordId;

    @ExcelProperty("计划ID")
    private Long planId;

    @ExcelProperty("设备ID")
    private Long deviceId;

    @ExcelProperty("任务ID")
    private Long jobId;

    @ExcelProperty("检查项ID")
    private Long entryId;

    @ExcelProperty(value = "检查状态", converter = DictConvert.class)
    @DictFormat("device_fault_category") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("内容")
    private String content;

    @ExcelProperty("图片")
    private String images;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
